package com.haixiaoke.saas.repository.mapper;

import com.haixiaoke.saas.repository.pojo.Area;
import com.haixiaoke.saas.repository.util.Tree.Node;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AreaMapper {

    List<Node> getLevel2();

    List<Node> getLevel3();

    List<Area> selectAreaList(Long[] areaId);

    List<Node> selectAreaComboList(String cityId);

    Long selectCityByDistrictId(Long districtId);
}
